C++ Interview Questions and Answers
Prepare for your Interview today!
A conversion constructor declared with the explicit keyword. The compiler does not use an explicit constructor to implement an implied conversion of types. It?s purpose is reserved explicitly for construction.
A library of container templates approved by the ANSI committee for inclusion in the standard C++ specification.
A programmer who then launches into a discussion of the generic programming model, iterators, allocators, algorithms, and such, has a higher than average understanding of the new technology that STL brings to C++ programming.
The ability to determine at run time the type of an object by using the typeid operator or the dynamic_cast operator.
Multiple providers of libraries might use common global identifiers causing a name collision when an application tries to link with two or more such libraries. The namespace feature surrounds a library?s external declarations with a unique namespace that eliminates the potential for those collisions.
This solution assumes that two library vendors don?t use the same namespace identifier, of course.
Yes. The ANSI committee added the bool intrinsic type and its true and false value keywords.
Most helpful rated by users: